@import './utilities/normalize.scss';
@import './font/font-awesome-4.5.0/css/font-awesome.min.css';
@import './font/iconfont/iconfont.css';
@import './animate/ngAnimate.scss';
@import './components/button.scss';
@import './components/form.scss';
@import './components/dialog.scss';
@import './components/pagination.scss';
@import './components/table.scss';
@import './components/addInfo.scss';
@import './components/icon.scss';
@import './components/dropdown.scss';

$globalMinWidth: 1080px;
$sideNavWidth: 240px;
$mainMinWidth: $globalMinWidth - $sideNavWidth;

:focus {
  outline: 0;
}

body {
  min-height: 100%;
  /*padding-bottom: 60px;*/
  /* edit by sunqy */
}

/* 共有 */
body, html{
  min-width: $globalMinWidth;
  height: 100%;
  color: #666;
  font-family: Helvetica-Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,STHeiti,Microsoft YaHei;
}

button,
input,
optgroup,
select,
textarea {
  font-family: Helvetica-Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,STHeiti,Microsoft YaHei;
}

a{
  text-decoration: none;
  color: #666;
}

.shadowbox {
  box-shadow: 0 0 5px -1px #787878;
}

.fl{
  float: left;
}

.fr{
  float: right;
}

/* 字体大小 */
.fs0{
  font-size: 0;
}

.fs-12{
  font-size: 12px;
}

.fs-14{
  font-size: 14px;
}

.fs-16{
  font-size: 16px;
}

.fs-18{
  font-size: 18px;
}

.fs-20{
  font-size: 20px;
}

.fs-22{
  font-size: 22px;
}

.fs-26{
  font-size: 26px;
}

.fs-36{
  font-size: 36px;
}

.fs-40{
  font-size: 40px;
}

.fs-50{
  font-size: 50px;
}

.fs-68{
  font-size: 68px;
}

.fs-theme-color{
  color: #0b8bd6;
}

.fs-gray-color{
  color: #666;
}

.pull-right{
  float: right;
}

.container-header{
  margin-bottom: 10px;
  padding: 0 17px;
  color: #1a9dde;
  border-left: 3px solid #008bdd;
}

.container-header>span{
  line-height: 46px;
}

.main-content .pa-form-control.pa-form-control-btn{
  margin-right: 0
}

.main{
  min-height: 100%;
  min-width: $mainMinWidth - 40px;
  padding: 0 20px 40px;
  background-color: #e8eff7;
}
.main-header {
  height: 50px;
  line-height: 50px;
}
.main-content{
  margin-top: 2px;
  padding-bottom: 40px;
  background-color: #fff;
}

/* search */
.main-content .query-info{
  margin-bottom: 10px;
  font-size: 0;
}

.main-content .query-info .first-search{
  padding: 16px 22px 12px 22px;
  height: 32px;
  box-sizing: content-box;
}

.high-search{
  display: inline-block;
  margin-left: 9px;
  vertical-align: middle;
  font-size: 14px;
  color: #0b8bd6;
  cursor: pointer;
}

.main-content .query-info .search-combobox-input{
  border-radius: 4px 0 0 4px;
  width: 252px;
  color: #999;
  box-shadow: none;
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.main-content .query-info .input-group {
  float: left;
}

.main-content .query-info .input-group-btn {
  display: inline-block;
  width: 32px;
  height: 30px;
  border-radius: 0px 4px 4px 0;
  font-size: 0;
  white-space: nowrap;
  background: #d4d7d9;
  vertical-align: middle;
  cursor: pointer;
}

.main-content .query-info .icon-search{
  margin-left: 7px;
  font-size: 18px;
  color: #fff;
  line-height: 32px;
}

.pa-operate{
  float: right;
  margin-left: 20px;
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  color: #008bdd;
  cursor: pointer;
}

/* more operate*/
.more-operate{
  margin: 0 5px 0 20px;
  cursor: pointer;
  text-decoration: none;
}

/* 二级搜索 */
.main-content .second-search{
  padding: 0 22px;
  line-height: 60px;
  border: solid #d4d7d9;
  border-width: 1px 0 1px 0;
  background-color: #f2f2f2;
  font-size: 14px;
}

.main-content .pa-form-control{
  display: inline-block;
  /*margin-right: 30px;*/
}

.main-content .pa-form-control-select{
  padding: 0 6px;
}

.main-content .pa-form-control-select,.main-content .pa-form-control-input{
  /*margin-right: 30px;*/
}

/* 条件查询 */
.search-info{
  .base-info{
    .base-info-item{
      padding-bottom: 10px;
      border-bottom: 1px solid #d4d7d9;
    }
    .pa-form-control{
      label{
        text-align: right;
        font-size: 14px;
      }
      .pa-form-control-select, .pa-form-control-input{
        width: 185px;
      }
    }
    .out-hidden{
      color: #666;
    }
  }
}

.pa-operate-fr{
  float: left;
  margin: 10px 0 0 20px;
  line-height: 32px;
  font-size: 14px;
  cursor: pointer;
}

.play-hide-operate{
  display: inline-block;
  margin: 10px 20px 20px;
  line-height: 32px;
}

/* 可切换table */
.switch-tabs{
  height: 41px;
  padding: 0 22px 0 18px;
  border-bottom: 1px solid #d4d7d9;
}

.switch-tabs .table-item{
  float: left;
  margin: 0 4px;
  width: 100px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border: solid #d4d7d9;
  border-width: 1px 1px 0 1px;
  cursor: pointer;
}

.switch-tabs .table-item.active{
  color: #fff;
  background-color: #51aadf;
}


/* operate list */
.operate-del{
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}

.operate-del .edit-color{
  color: #dc2dcd;
}

.operate-del .trash-color{
  color: #e1b24b;
}

.operate-del .detail-color{
  color: #1590d8;
}

.operate-three{
  width: 200px;
}

/* sort */
.sort-operate{

}

.time-sequence-btn{
  position: relative;
  display: inline-block;
  width: 15px;
  height: 30px;
  vertical-align: middle;
}

.time-sequence-btn .time-sequence-box{
  display: -webkit-box;
  display: box;
  width: 15px;
  height: 15px;
}

.sort-size{
  position: absolute;
  font-size: 16px;
}

.sort-size.sort-size-big{
  top: 3px;
}

.sort-size.sort-size-small{
  top: 11px;
}

/* 必填 */
b{
  margin-right: 5px;
  font-family: SimSun;
  color: #ea3201;
}

/* width */
.w-20{
  width: 20%;
}

.w-45{
  width: 45%;
}

.w-50{
  width: 50%;
}

.w-55{
  width: 55%;
}

.w-80{
  width: 80%;
}

.w-100{
  width: 100%;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/*
  以下css为了还原bootstrap的css，待保留，可不用
*/
.pa-form-control input,
.pa-form-control label {
  margin-bottom: 0;
}

.input-append {
  margin-bottom: 0;
  padding: 0 !important;
  border: 0 !important;
}

/*日期选择*/
.date-picker .add-on{
  height: 30px;
  box-sizing: border-box;
}

.date-picker input{
  width: 185px;
}

.date-picker.add-worker-time-input input{
  width: 309px;
  border-width: 0 0 1px 0;
}

.backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #000;
  opacity: .5;
}

.clearfix{
  clear: both;
}

.invisible{
  position: absolute;
  left: -999px;
  width: 0px;
  height: 0px;
  opacity: 0;
}

/* casader picker */
.cascader-picker{
  position: relative;
  display: inline-block;
  width: 353px;

  input{
    width: 100%;
  }
  i{
    position: absolute;
    top: 7px;
    right: 5px;
    font-size: 15px;
    color: #bbb;
    transition: all .15s ease-in-out;
    transform: scale(0.75) rotate(0deg);
  }
  .arrow-expand{
    transform: scale(0.75) rotate(180deg);
  }
}

.casader-menus{
  font-size: 12px;
  background: #fff;
  position: absolute;
  z-index: 1050;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  .casader-menu{
    display: inline-block;
    vertical-align: top;
    min-width: 173px;
    height: 180px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-right: 1px solid #e9e9e9;
    overflow: auto;

    &:first-child{
      border-radius: 4px 0 0 4px;
    }
    &:last-child{
      border-right-color: transparent;
      margin-right: -1px;
      border-radius: 0 4px 4px 0;
    }

    .casader-menu-item{
      background-color: #f7f7f7;
      font-weight: bold;
      padding: 7px 26px 7px 16px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.3s ease;

      &:hover{
        background-color: #f7f7f7;
        font-weight: bold;
      }

      &.active{
        background-color: #f7f7f7;
        font-weight: bold;
      }
    }
  }
}

.main-content .base-info .pa-form-control .pa-form-zhi{
  width:30px;
  text-align:center;
}

/* 隐藏input 处理时间 */
.hidden-input{
  width: 0;
  height: 0;
  padding: 0;
}

/* 面包屑 */
.pa-icon-div {
  display: inline-block;
  /*margin-right: 20px;*/
  cursor: pointer;
  .fs-vertical-middle{
    vertical-align: middle;
  }
  .icon-vertical-top{
    vertical-align: top;
  }
}

/* 操作 */
.pa-fl{
  padding-left: 10px;
}

.menu-org{
  min-height: 40px;
  padding: 12px 20px;
  border-bottom: 1px solid #dbdbdb;
  background: #7bd1db;
  color: #fff;
  .menu-unit{
    display: inline-block;
    width: 32px;
    padding-right: 10px;
    border-right: 1px solid #fff;
  }
  .menu-fl{
    margin-left: 10px;
  }
  .menu-bid{
    font-weight: 600;
  }
  .menu-unit-name{
    width: 146px;
  }
}

.menu-unit{
  clear: both;
}

/* 附件信息 */
.item-file{
  margin: 10px;
  font-size: 14px;
}

/* 可折叠表格附件 */
.file-list-folding{
  .file-item{
    margin: 10px 0;
    line-height: 30px;
  }
  .file-item-span{
    width: 400px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* 必填 */
.mandatory{
  position: absolute;
  line-height: 28px;
  color: #fd8c71;
}
